package service;

import model.Product;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import dao.ProductDao;
@Service
public class ProductServive {
	@Autowired
	private ProductDao productDao;

	public void saveOrUpdate(Product product) {
		productDao.save(product);
	}
}
